import Vue from 'vue';
import App from './App';
import router from './router';

//全局载入 ajax
import axios from 'axios';
window.axios = axios;

//全局载入适配模块
import adaptive from './assets/js/adaptive';
window.adaptive = adaptive;

//全局载入样式表
import './assets/css/reset.css';
import './assets/css/iconfont.css';

Vue.config.productionTip = false;

new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
  mounted: function () {
    adaptive.setSize(this.$el);
  }
});
